home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
002
/
ws2.arc
/
WS2.DOC
< prev
next >
Wrap
Text File
|
1986-04-25
|
10KB
|
253 lines
----------------------------------------------------------------
[CREDIT TO ORIGINAL AUTHOR]
Judy Epstein of Highland Park, Il originally combined WordStar
and Prokey to create MAGNIFI.KEY which redefined the PC
keyboard to let WordStar work more like a dedicated wordprocessor
(see PC magazine for detail). Unfortunately, our staff was
already familiar with the normal function keys used in Wordstar.
So, MAGNIFI.KEY would have been more confusing than helpful for
our experienced users. To solve this problem, I created WS2.PRO
using Judy's original key definitions (with some modifications)
and edited her text explanations to reflect WS2.PRO definitions.
Thank you, Judy Epstein, for doing most of the work.
----------------------------------------------------------------
WS2.PRO provides new definitions to the PC keyboard. By
pressing two keys, strings of commands can be accessed. For
example, to reform an entire document, all you have to do is
press alt F2.
I have defined the remaining 30 function keys, as well as
all the alphabetical keys in the alt state, plus several more
keys. The definitions of the keys, as well as the key strokes
that are used to define them, are all listed in WS2DIR.DOC.
You would be wise to type out WS2.PRO and play around manually
with the definitions just so you are sure what each one does
before you use the Prokey setup. I have not redefined any of
the control keys. Thus, you can still access WordStar in the
normal way. (Note: WS2.PRO assumes you have INSTALLED WordStar
with hyphen help OFF. Re-install your WordStar disk if hyphen
help is ON.)
CONTROL-FUNCTION KEYS
The unshifted state of the function keys is unchanged.
However, the control and function keys deal with blocks. You
can move (F1), copy (F8), write (F4), or delete (F5) a marked
block. With move and copy, the source and destination blocks are
reformed and the cursor remains at the destination. With delete
the remainder of the paragraph is reformed. (F1) will send a
marked block to the end of the file. This is useful for
reordering text, making short notes to yourself and collecting
them at the end, etc. It will reform the text remaining
behind according to the current margins.
You may also read(F7) a b:file into your document (with the
b:directory shown), or just read any file(F3). Also, you can find
the top(f9) or end(F10) of a block. But the best feature is (F6).
This function key saves you from the dreaded DISK FULL message.
(F6) lists the current b:directory and lets you delete a file.
You can then save your current file to the b: drive.
SHIFT-FUNCTION KEYS
Cursor movement and string searching can be accessed using the
shift and 10 function keys Thus, shift F1 finds strings above the
cursor, shift F2 finds strings below the cursor, shift F3 find
and replace global, shift F4 find and delete global. The F5 and
F6 keys are for deleting (alt, shift or ctrl). Shift F5 deletes a
word to the left and shift F6 deletes a word to the right. Shift
F7 moves cursor a word to the left and Shift F8 moves the cursor
a word to the right. You go to the beginning of the paragraph
with shift F9 and get to the end with shift F10.
ALT-FUNCTION KEYS
Alt F1 allows you to save your work on the logged drive and
continue to work. It then returns the cursor to the proper
location instead of placing it at the beginning of the file. Alt
F2 will reform a document from the beginning to the end of the
file at the fastest speed according to the current margins. Alt
F3 will save your file on the logged drive, and then print the
file. This command is useful when you have edited only one file,
and wish to print it several times. Since the command uses the
^R command which allows you to repeat a previous response to a
question, it is only good as long as the previous response is the
desired one. It also prints the file with all default options.
Alt F4 will reform the paragraph in which the cursor is
located, and place the cursor at the beginning of the
paragraph. Paragraphs must be single spaced with two carriage
returns at the end of each paragraph for this command to work.
It will not work with the first paragraph of a file unless
the paragraph is preceded by two carriage returns. Alt F5
deletes all text to the left of the cursor and alt F6 deletes
text to the right. Alt F7 centers text. Alt F8 will delete
carriage returns that appear in the middle of a paragraph.
When you have deleted the required number, just type alt
F4 (or ^B) to reform the paragraph. Alt F9 sets place markers
and Alt F10 finds them.
CONTROL-CURSOR KEYS
The normal state of the cursor keys was not changed. But
pressing control and a cursor key several options. Control <--
moves the cursor to the left side of the screen, control -->
moves the cursor to the right side, control PGUP scrolls the
screen up (stop with space bar and change speed with number keys)
and PGDN scrolls down.
The control BKSP key will place the character ^H in the
file, which is the WordStar command to backspace and overprint
a character.
RAM DISK KEYS
When using WordStar, I usually do all my work on RAM disk C
as well as keeping WordStar on C. In order to use the RAM
drive, a file must be opened with alt D or alt N (instead of
just D or N). This sets the value of alt A to the name of
the file and logs you onto drive C.
Pressing alt S then allows the current text on drive C to
be sent to drive B for saving on disk, and should be used
often. Alt X eXits you to WordStar on the c: drive but saves
your file to b: This method puts each new saved version of the
file onto the same file, and thus no backup file is created on
B: (This could be either an advantage or disadvantage.)
NOTE: you must not use marker 0 in any of your files or the alt S
and alt X command will blow up. If you have enough space on your
RAM C: drive and you used marker 0, you can save your file using
^KS, ^KD or ^KX. Also, if you start a new file you should save it
with alt S the first time. A "Y" will appear in your document
after the save is done but you can ^G it out.
If you are working with a hard disk, and do not have
drive B, then be sure to change all commands that reference B:
to A:. Since some of these commands use and erase the place
marker 0, don't use ^K0 or ^Q0. You may use any of the other
place markers 1 to 9.
MISC ALT KEYS
Alt W, alt L, alt P will mark a word, line, or paragraph,
respectively. Alt 1 and 2 reform paragraphs with either 1 indent
or 2. Alt J sets help level. Alt I indents 5 spaces and lets you
enter one number and a period. Then, a non-break space <^PO> is
entered. When reformed, the indentation and numbering won't move.
The printer controls of alt B, U or H will surround
the text you enter and give you boldface, underlining or
headings respectively. For example, alt H creates a heading that
is centered, boldfaced, and underlined. Just type alt H, the
text of the heading, and type return. The command will
place the heading in the center surrounded by the boldface
and underline printer commands, i.e.,
Alt O lets you create a ruler line. Just type alt O, create
the line, and type return. The command will set the new ruler
line and position you on the next line. Normal F3 and F4 will
set the left and right margins at the current cursor position.
If you would like to print the current file but not store it
in a permanent file, then type alt T. This places the current
file in a buffer called T.QQQ on drive B and prints it with all
default options. If no file T.QQQ exists on drive B, then you
must use alt K the first time.
The file WSDIR.DOC list the keys still available for use.
Perhaps they could be used to enter boiler plate text, or perform
some function that has not been accounted for here. You can
edit the file WS.PRO to add new keys. You may define them by
using <alt=> key Definition <alt->. Use <^-> to toggle a
variable field. Use <^]> to toggle a fixed field. Use <^esc>
to abort definition or playback.(Please see the Prokey manual
for a detailed explanation).
Most of these key definitions should be self-explanatory
after you have tried them for a while.
In order to make the operation of WordStar automatic, I use
the following autoexec.bat file to boot the disk. This creates
the RAM drive, copies the necessary programs to C:, sets the keys
for Prokey, shifts to drive C, and runs WordStar (membrain.exe is
the RAM disk program I use, see membrain.doc for the proper .SYS
commands for your PC).
membrain 320
prokey/r ws.pro
copy *.ovr c:/v
copy ws.com c:/v
c:
ws